package com.yonyou.pmclouds.completedcollate.rmiitf;

import com.yonyou.pmclouds.basecom.entity.PageObject;
import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.completedcollate.entity.CollatedSearchPageVO;
import com.yonyou.pmclouds.completedcollate.entity.CollatedSearchParamVO;
import com.yonyou.pmclouds.completedcollate.entity.CompletedCollateVO;
import com.yonyou.pmclouds.completedcollate.entity.NamePkVO;
import com.yonyou.pmclouds.team.entity.TeamMemberVO;

import java.util.List;
import java.util.Set;

/**
 * 竣工资料整理数据查询接口
 *
 * @author yzx
 * @Date: 2018/5/23 15:27
 */
public interface CompletedCollateQuery {

    PageObject search(String[] pkProjects, String condition, Integer start, Integer size) throws BusinessException;

    CompletedCollateVO getById(String id) throws BusinessException;

    List<CollatedSearchPageVO> getBillsInfo(CollatedSearchParamVO paramVO) throws BusinessException;

    /**
     * 根据工序验收pks获取页面上需要的工序报验&施工记录名称和pk
     *
     * @param procedureinspectpks
     * @return java.util.List<com.yonyou.pmclouds.completedcollate.entity.NamePkVO>
     * @author yzx
     * @date 2018/6/1 19:32
     */
    List<NamePkVO> getQuoteNameAndPk(String[] procedureinspectpks) throws BusinessException;

    TeamMemberVO[] getMemberByProject(String projectId) throws BusinessException;
}
